package com.yunxi.poc.starbucks.service;

import com.yunxi.poc.starbucks.entity.Tb1Store;
import com.yunxi.poc.starbucks.vo.StoreRateVO;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 店面销量调节惩罚项计算-服务类
 * </p>
 *
 * @author shiyuan.xlc
 * @since 2021-08-12
 */
public interface IPunishmentService {

    /**
     * 计算惩罚项
     *
     * @param current
     * @param store
     * @param stores  other stores
     * @return
     */
    double scorePunishment(LocalDateTime current, Tb1Store store, List<Tb1Store> stores, StoreRateVO calRes);

}
